x86/HPET: obtain proper lock for changing IRQ affinity
authorJan Beulich <jbeulich@suse.com>
Wed, 17 Oct 2012 12:13:20 +0000 (14:13 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 17 Oct 2012 12:13:20 +0000 (14:13 +0200)
commit73562aafb6268132e05b9574923650bdf9bcbc0f
tree551e7d707ef93c3d153b8971c1dbbd885c1f148a
parentdf2cf6a726b815fafa12e503c9a36707c3962f22
x86/HPET: obtain proper lock for changing IRQ affinity

The IRQ descriptor lock should be held while adjusting the affinity of
any IRQ; the HPET channel lock isn't sufficient to protect namely
against races with moving the IRQ to a different CPU.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hpet.c